﻿@model FlowerShop.Core.Models.Tpeople
@{
    ViewBag.Title = "修改";
}

<h2>修改</h2>
@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    @Html.HiddenFor(model => model.t_id)

    <div class="form-group">
        @Html.LabelFor(model => model.t_name, "客户姓名")
        @Html.TextBoxFor(model => model.t_name, new { @class = "form-control" })
        @Html.ValidationMessageFor(model => model.t_name)
    </div>

    <div class="form-group">
        @Html.LabelFor(model => model.t_mima, "电话")
        @Html.TextBoxFor(model => model.t_mima, new { @class = "form-control" })
        @Html.ValidationMessageFor(model => model.t_mima)
    </div>

    <div class="form-group">
        @Html.LabelFor(model => model.email, "邮箱")
        @Html.TextBoxFor(model => model.email, new { @class = "form-control" })
        @Html.ValidationMessageFor(model => model.email)
    </div>

    <button type="submit" class="btn btn-primary">保存</button>
    @Html.ActionLink("取消", "Index", null, new { @class = "btn btn-secondary" })
}
